clear;clc;clearvars;
addpath('CEC2008\');
% 初始化变量维度,种群数,最大迭代次数,搜索区间,F,CR
dim = 500;
popsize = 100;
maxIteration = 25000;
LB = -100 * ones(1, dim);
UB = 100 * ones(1, dim);
CR = 0.9;
% 估值次数:100*25000
[globalBest3, globalBestFitness3, FitnessHistory3] = SaNSDE(popsize, maxIteration,dim, LB, UB, @(x)benchmark_func(x,3));
plot(FitnessHistory3);
